Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This is the documentation of JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud, see our JSU Cloud documentation. |
Info |
---|
The 'Transition Trigger Service' is available from JSU 2.0 |
Description
This is a simple background job (Jira service), which triggers a transition on all issues, which are found by a certain JQL query.
...
See Atlassian's documentation for more information on how to configure Jira services.
...
You must enter the following value as class.
...
In the following screen, you can configure the details of the transition trigger service.
...
User to run the JQL query and the workflow transition
...
Consider a workflow with a status Ready and a status Executed. And a custom field 'Execution Date/Time'. We then use the following parameters:
Code Block |
---|
JQL query: status = Ready AND 'Execution Date/Time' <= now() |
To trigger those issues the transition to the
Code Block |
---|
Target status: Executed |
In that transition, you might for example use some Webhook to trigger an action on an external system.
...
Code Block |
---|
[INFO] [talledLocalContainer] 2020-10-20 18:25:00,010 Caesium-1-4 ERROR anonymous dadada [c.a.jira.service.ServiceRunner] An error occurred while trying to run service with ID '16900'. This method is not supported in an UnloadableJiraServiceContainer [INFO] [talledLocalContainer] java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer [INFO] [talledLocalContainer] at com.atlassian.jira.service.UnloadableJiraServiceContainer.setLastRun(UnloadableJiraServiceContainer.java:86) |
This only affects Jira Version 7.3.x during Startup. The Transition Trigger Service self is not affected after Jira successfully started.