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

JQL for linked issue

Kamil Askerov
Contributor
May 30, 2024

Hi. I need to make the custom field in my project, where will be linked issues for this issue and the custom field must be not changeable (nobody can change this custom field(only copy them))

 

--For this i need JQL something like this -  issue in linkedIssues(issue-number)

--But how to make this JQL for my custom field - wich parametr must be for issue-number?

1 answer

0 votes
Christian
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2024

The best way I can think of to do this is to write an automation that triggers whenever and issue link is added or deleted. The automation should then use the "Lookup Issues" action to look up all linked issues, and then write them to a read only custom field. The automation will look like this:

Screenshot 2024-05-31 141600.png

Screenshot 2024-05-31 141819.png

 

Note: You will need to create two automations, one that triggers when a link is added and one that triggers when a link is deleted. You may also need to update your the rule details to allow other automations to trigger it if you have automations that create links.

Let me know if this works for you!

Christian 

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