Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleSteps
  • Create "Provide Information" transition from Information Requested status to Open status.

  • Create "Provide Information " transition from Information Requested status to In Progress status. Add a space at the end of this transition so that JIRA doesn't complain about duplicate transition names.

    Image RemovedImage Added
  • On the Provide Information transition from Information Requested to Open status add Previous Status Condition to make the transition available only if the previous status was Open

    • Select Open as the Previous status

    • Select Most recent status only

  • On the Provide Information transition from Information Requested to In Progress status add Previous Status Condition to make the transition available only if the previous status was In Progress

    • Select In Progress as the Previous status

    • Select Most recent status only


...

Expand
titleSteps
  • Add the Scripted (Groovy) condition to the transition you wish to hide

  • Write this content script in the Groovy script.

    Code Block
    issue.getAsJsonData("Time to resolution").getData()?.getOngoingCycle()?.getBreached()

(lightbulb) Enable the "Start Progress" only on issues in the current sprint

Expand
  • Add the Scripted (Groovy) condition to the Start Progress transition.

  • Write this script in the Groovy script.

    Code Block
    issue.get("Sprint")?.first()?.active

(lightbulb) Ensure at least one pdf file is attached before the issue can be transitioned

Expand
  • Add the Scripted (Groovy) condition to the Start Progress transition.

  • Write this script in the Groovy script.

    Code Block
    issue.attachments.filter(attachment => attachment.mimeType == 'application/pdf').length > 0

(lightbulb)Show transition “Reject” for users of the “Management” project role and “jira-administrators” group only

Expand
  • Add the Scripted (Groovy) condition to the Reject transition.

  • Write the following script in Jira expression field

    Code Block
    currentUser.isInProjectRole("Management",issue.projectObject) || currentUser.isInGroup("jira-administrators")


Related Issues Status Condition

...