Forums

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

How to find the projectName of an issue through smart value?

Duygu KIRMAÇ August 26, 2020

Hello All,

I try to create some automation rules but there is a dilemma about finding the project name of the linked issue. 

Scenario: I create an issue in COR project and it is assigned automatically to someone. Then, if he accepts the issue, another issue is created in ST projects which is linked to COR project's issue. As you see below, if SR issue's status changes from done to finished, I just want to change the status of the linked issue that is only related to COR project. Thus, we can only be informed when the ST issue which is triggered the COR project, is updated.

I'll be appreciate if you guide and help me :(!

Thank you!,

Duygu 

Automation.png

1 answer

1 accepted

1 vote
Answer accepted
Kirkie
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.
August 26, 2020

Here is the smart value: {{issue.project.name}}

I am confused a bit because your screenshot is showing a need for JQL.

Is a smart value actually what you needed here?

More smart values can be found here:

https://confluence.atlassian.com/automation/smart-values-993924860.html

Duygu KIRMAÇ August 27, 2020

Hi Amanda, 

Thank you for your interest. I just wanted to separate the linked issues as COR-triggered, so I tried to use JQL. Do I make a mistake? How can I detect the COR-related linked issues in the ST issue? I mean, ST issue can include ST-related issues also, then automation runs and status changes, the linked issue automatically resolved by this way. This is wrong for me because I want to separate COR-related and ST related issues. So, when automation runs, COR liked issues status should be changed as Resolved, not the other ones. Should the usage of the expression wrote above be like {{issue.project.name}} = Consultancy Requests (COR) ? 

Duygu KIRMAÇ August 27, 2020

Hi Amanda,

Unfortunately, the expression could not solve my problem :(. How can I create a condition or identify the project of the linked issue.? I have to change the status according to project name of the linked issues. 

Kirkie
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.
August 27, 2020

Yeah, Smart Values are completely different concept from JQL.

The above automation rule is already selecting all Linked Issues (Relates To) the trigger issue. From here your JQL condition would be project == COR

Duygu KIRMAÇ August 28, 2020

OK, Amanda. the expression is validated but I suppose there are some different errors in my rule path. Thank you for your help. :)

Like Kirkie likes this

Suggest an answer

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

Atlassian Community Events