You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
Jira Administrator
Configure Jira Software, Jira Core, or Jira Service Management, including global settings, permissions, and schemes.
Managing Jira Projects Cloud
Learn to create and configure company-managed projects in Jira Software and partner effectively with Jira Admins.
Managing Permissions in Jira Cloud
Sharpen your skills at configuring and troubleshooting permissions in Jira Cloud with this free course.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.