Forums

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

Can we perform action on a Issue's Key mentioned in another issue's label?

Chitra Raj February 24, 2024

Dear All,

 

I am new to Jira Automation, I have below situation:

During creation of an Issue-1 , I am adding a Issue-2' Key in Label field.

Now, in automation I am extracting Issue-2's Key from Label in a Variable {{IssueKey}}.

Is there any possibility to get Issue-2's field information like summary in Automation?

like: {{IssueKey.Summary}}

1 answer

1 accepted

3 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 24, 2024

Hi @Chitra Raj 

Yes, that is possible using JQL to find the issue in a rule: key = {{varYourVariableName}}

Depending upon what you want to do with the issue fields, you could use either a Branch on JQL or use the Lookup Issues action to access them.

https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues

 

If you post an image of your complete rule and explain how you are trying to use the issue data / fields, the community will be better able to suggest ideas.

 

Kind regards,
Bill

Chitra Raj February 25, 2024

Hi @Bill Sheboy

Thank you for your answers. I used lookup issues.

I endeavored to achieve automation for adding X-ray Tests to Test Executions in bulk, and it functions impeccably. :). I achived that with Excel VBA but wanted to do with Jira itself.

Suggest an answer

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

Atlassian Community Events