Hi Admins!
I have setup a rule between Jira Service Management and Jira Software but I am having Issues with the following:
Issue 1
I have setup a rule between Servicedesk and Software whereby if I assign a Servicedesk ticket to a certain status in Servicedesk then it creates a ticket in the backlog on the Project A backlog.
However - we have a Project B on our Software instance as well hence sometimes the Automation rule should kick in for Project A and other times for Project B. How do you set the rule so that you can choose on which project you want the ticket to create on?
Refer to images attached.
So you would have to differentiate between the issue trigger when the automation is activated.
Use components, labels or even a separate custom field. Use these to define in witch project an issue should be created.
In your automation rule, use an if then clause and for the if a JQL check should be validated to check if the used component, label or custom field value is true to decide if an issue should be created in project A.
The same applies for the else, but then a JQL check should be validated to check if the used component, label or custom field value is true to decide if an issue should be created in project B.
I hope this explanation will help you.
Regards,
Marc
Hi Vanessa,
You can probably do an If Then condition so that if the service desk issue moves to a transition and add a condition for additional details there so that the new issue is created in Project A . And then on the Else you can do the same thing for a different condition to create it in project B.
But you cannot choose on the fly within Automation. If you need to do that, put a transition screen on the Service Desk transition and add a field that will be used in the automation above to decide if it is A or B. It will probably need to be a custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use a condition:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check: Add component -> New condition -> If/else block :)
In the end it should look something like that :
(with your conditions of course)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks to me like you can use this Smart Value in condition to do the right thing:
You won't be able to "fill in" the correct project in the "Create a new story" component. And you'll want to rely on the numeric IDs (rather than names) for the projects (since names can be edited, breaking your rule).
But automation CAN do this. Suggested pseudocode:
if {{project.id}} = 1234
then "Create a new story" in Project A
else if {{project.id}} = 2345
then "Create a new story" in Project B
else "Log Action: 'Unknown project triggered this rule: ID={{project.id}} NAME={{project.name}}' "
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Become an effective Jira admin
Manage global settings and shared configurations called schemes to achieve goals more quickly.
Streamline Jira administration with effective governance
Improve how you administer and maintain Jira and minimize clutter for users and administrators.
Learning Path
Become an effective Jira software project admin
Set up software projects and configure tools and agile boards to meet your team's needs.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.