Forums

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

Create an issue, based on a label, and mention the original issues in the new issue

Tal Stanek July 17, 2023

Hi there

 

I have a scenario in which I need to create an issue for one of our technical teams (Project B), based on an inserted label in another project (Project A).

 

While I can do the most of it, I don't know how can I mention the key of the original issue (A) in the description and/or summary of the new issue (B).

 

Do you have any ideas?

 

Thanks

3 answers

1 vote
Adam Rypel _MoroSystems_
Community Champion
July 17, 2023

@Tal Stanek if that is not the case, then you can use {{triggerIssue.key}} - assuming the original issue is the one that triggers the rule. But as long as you are not using some branches in your rule, {{issue}} should also work.

0 votes
Tal Stanek July 17, 2023

Thank you @Adam Rypel _MoroSystems_ 

I will try, but I think that the smart value {{issue.key}} will show the issue that will be created via Jira Automation and not the original one.

 

I'll update once implemented and tested

0 votes
Adam Rypel _MoroSystems_
Community Champion
July 17, 2023

Hi @Tal Stanek ,

I suppose you are using Automation for Jira?

You can use a smart value in the summary / desc of your target issue, see more on that here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

You basically just need to use smart value {{issue.key}} (or even {{issue}} should be enough I think) in your text and it should display the key of original issue. You can also use {{triggerIssue}} for more clarity.

Hope that helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events