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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,681
Community Members
 
Community Events
184
Community Groups

I want to search for Jira Service Management issues using JQL in automation.

Edited

We would like to trigger the completion of an issue in Jira Software to automatically complete the related issue in Jira Service Management.

The Jira issues are registered so that they are automatically created when an issue is created in Jira Service Management.

Also, the issue.key in JiJira Service Management is stored in the environment field.

I can't figure out the steps to search for a Jira Service Management issue based on the information in the environment field of a Jira issue and access the corresponding issue. I would appreciate it if someone could tell me more about this.

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 18, 2023

Hello @keisuke1_shimizu 

You can use the For Branch / Related Issue / JQL option to retrieve the related JSM issue. Your JQL would look something like this.

issue = {{triggerIssue.environment}}

Within the branch you can then take actions against the issues retrieved by the branching action.

However, in order to set up an automation rule triggered by an action in Project A, and then take an action on an issue in Project B, you are going to have to have a Global Automation Rule that has both projects listed in the Rule Details Scope. Global Automation rules can be created only by a Jira Administrator.

Suggest an answer

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

Atlassian Community Events