Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Auto transition JSM issue by Jira software issue transition

Guy Plotnik September 25, 2022

I'm trying to transition an issue in JSM when the linked issue in JIRA software is transitioned to "done". 
I used a webhook, so that the webhook is triggered when the JIRA software issue is transitioned to "Done" and sends its key.
On the JSM there's an automation to catch the webhook and the trigger is activated as expected. 
The problem is that in both JSM and Jira software, the linked issue's key cannot be access or passed.
I tried smart values and even basic JQL like "issue in linkedIssues("<linked Issue Key>")" and it doesn't work.
If anyone knows how to solve it or to make this automation work in different methods it will be very helpful.

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 25, 2022

Hi @Guy Plotnik and welcome to the community,

You don't have to use a webhook. You can do the following:

transition issue of other project.png

But you have to set the scope of the rule to "multiple projects", to which you will choose the software project, as well as the JSM project. This can be set up by the global automation (cog wheel > system > automation)

Guy Plotnik September 25, 2022

Thanks Alex, sounds promising, I'll try that!

And yes, I also used Global Automation previously and will do so now.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 25, 2022

Cool! Let me know if you did it.

Guy Plotnik September 25, 2022

Hi Alex,
I tried and I think the issue is happening for another reason.

When I select multiple projects, I can't see the JSM projects when I'm in Jira software and vice versa.
It's strange as I can see the instances are connected (bi-directional) in the application links.
Also I'm able to link issues between the instances (as demonstrated in the attached picture).

Any idea what can be the issue?

Screen Shot 2022-09-25 at 21.49.50.png 
Screen Shot 2022-09-25 at 21.40.34.png

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 25, 2022

@Guy Plotnik this JSM is on another instance? Are you on cloud or on-prem?

Guy Plotnik September 25, 2022

Yes @Alex Koxaras _Relational_ , the JSM is indeed on another instance (different site). Both Jira software and JSM are on cloud.

If needed, I can migrate JSM to the same site as Jira software. I just need to have a different license (less users) on the JSM. 

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 25, 2022

So maybe the webhook is the way to go on this. I really haven't try this :/

Guy Plotnik September 25, 2022

Ok, no worries.

I'll try to unite both Jira and JSM under same site and hope it will do the trick.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events