If you have any problems, please include the following information in your bug report to Adaptavist Support:

  1. Support Zip - For information on how to create a support zip see the Atlassian Create a Support Zip documentation.

    For instructions on how to set logging for Behaviours, see our Log Levels documentation.
  2. XML Snippet - For the problematic behaviour, follow the XML Storage instructions below.

  3. Custom Field Type Details - Description of any custom field types involved, eg their type.

XML Storage

If Adaptavist Support requests the XML text for your behaviour, please follow the below instructions.

6.0+

  1. Navigate to ScriptRunner → Behaviours.

  2. Click Edit next to the affected behaviour.

    edit-behaviours

  3. Copy the behaviour ID from the URL; this is the last number in the URL. For example, for the behaviour with the following URL, the ID is 1:

    <JiraBaseURL>/plugins/servlet/scriptrunner/admin/behaviours/edit/1
  4. Open a new browser tab, and enter the following REST API call, where <behaviourID> is the ID from the behaviour URL:

    <JiraBaseURL>/rest/scriptrunner/behaviours/latest/config/<behaviourID>

    For example:

    jira.example.com/rest/scriptrunner/behaviours/latest/config/1

    The behaviours XML is displayed:

    behaviours-xml

  5. Copy the text and send it to Adaptavist Support.

5.x

  1. Navigate to ScriptRunner>Behaviours.

  2. Click Advanced Edit next to the affected behaviour.

  3. Copy the full XML snippet and send it to Adaptavist Support.

Have questions? Visit the Atlassian Community to connect, share, and learn with other Atlassian users and experts, including Adaptavist staff.

Ask a question about ScriptRunner for JIRA, Bitbucket Server, or Confluence.

Want to learn more? Check out courses on Adaptavist Learn, an online platform to onboard and train new users for Atlassian solutions.