Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set up an automation to transition an issue from a Jira Project to the linked issue in JSM?

Shayden Frankhouser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 20, 2024

Hello!

I'm looking to set up an automation between a Jira Service Management (JSM) project, and a Jira project (JP). 

JSM - when a request is submitted, I would like to triage the request for completeness. When the request is ready for work, I have an automation created to send it to our JP board.

I also have an automation created, so that when the automation runs to the JP board, it also creates a linked issue (relates to) which is the JSM issue.

Both issue types are "tasks" and both "tasks" use the same workflow.

JP - when the request is being worked on in the JP (its a kanban card), I want the linked issue from JSM to also be updated when the kanban card is updated. i.e., when the JP issue transitions to "Assigned" I want the JSM request to also transition to "assigned"

How do I do this?

I've tried Look up tables, linked issue types, issue type = "task", etc.

I thought I read somewhere on the Atlassian community that they may need to be different issue types, but my Atlassian PO said that was not true, so now I'm stuck.

TYIA!

2 answers

0 votes
Clara Belin-Brosseau_Elements
Atlassian Partner
July 9, 2024

Hello @Shayden Frankhouser

 

If you're seeking for an easier way to clone an issue from JSM to a Jira project and keep their workflows in sync, you can try our app Elements Copy & Sync that allows you to clone and sync a full hierarchy of issues with all their content (summary, description, custom fields, comments, attachments, etc).

You can check our guide here

You can try the app for free during 30 days (and it stays free under 10 users).

 

Kind regards,

Clara

0 votes
Walter Buggenhout
Community Champion
June 20, 2024

Hi @Shayden Frankhouser and welcome to the Community!

At the core, you basically need an automation rule that looks like this:

Screenshot 2024-06-20 at 20.56.34.png

Because you are working across 2 different projects, you may need to make sure to include both projects in the scope of your automation rule (you can do so on the Rule details page). And also pay attention to the direction of the link between your issues (relates to may have an is related to counterpart representing the opposite end of the link.

If your issues are indeed sharing the same workflow, you could also choose to copy the transition from the trigger issue. That would make your automation rule more dynamic then when you explicitly select status names. You can add additional conditions to validate if your linked issues are in a certain status, etc. But from the above starting point, you should have all you need to get going.

Hope this helps!

Shayden Frankhouser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 21, 2024

Hi Walter, thank you for the fast response!

This is how I have it set up:

When I triage the request, I want to change the status to "Ready for Legal Review" - this creates a linked issue with the linked issue type "relates to" and a "task" in the JP kanban in the column "ready for legal review".

Problem: When this automation kicks in, it creates the task, and creates the linked issue type, but pushes it back to the first status in the workflow "Ready for review"

Here are my automations:


2024-06-21_07-27-55.png

I'm also unable to add additional projects to my "scope".

2024-06-20_16-51-34.png

2024-06-21_07-33-56.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events