Forums

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

Get project key of a linked issue in JQL

Gergana.Damyanova
Contributor
May 10, 2023

Hi, I'm doing some automation that aims to update an issue's field after the linked issue is closed. The field I want to update should have the value of the linked issue's project. I try to define a variable in the automation which should extract the project key, but for some reason this doesn't work.

For now I'm experimenting with getting some value and assigning it as a label to see if the value will be correct, and assign value to the variable to be {{project}}, but it doesn't work. Is this the correct way to extract the project's key or it's something else?

Screenshot 2023-05-10 at 17.25.50.png

1 answer

1 vote
Mike Rathwell
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 Champions.
June 20, 2018

Hi @Sophie Mulard,

I have several use cases in my instance that are just like this one. I have long used the "Notification Assistant for Jira" in my instances https://marketplace.atlassian.com/apps/1211069/notification-assistant-for-jira?hosting=server&tab=overview

Basically anything that can be represented by a JQL search can be emailed. The really NICE thing about it is, if you're sending to "reporter" or "assignee" (as seems to be the case from above), each recipient gets only their issues sent as a list to them.

I use this extensively in my system to mail out reminders of stale issues for whatever reason they become stale. The number of these goes down rapidly since they get a reminder (as often as one cares to send it) and often it's just a case of them slipping through the cracks and the reminder closes the crack as it were.

Sophie Mulard
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, 2018

Thank you @Mike Rathwell!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events