How can I complete a field automatically when I link a issue to another?


I can't search with JQL issues with linked issues, so I have another idea. I would like to check an issue's checkbox automatically when an user links it to another issue.

My main objective is to get with a query issues that are linked to another one. It would be better if I can get the issues that have a parent issue.

I also have checked the information about Listeners: .
But I have Jira On Demand and the version is 6.0-OD-15 and the documentacion requeries Jira 6.1 EAP. I don't know what EAP is and when Jira On Demand will be updated.

Thanks, Mage

1 answer

Hi Majobsas,

I'd like to make a suggestion on the first part of your query, while you cannot currently use JQL to find linked issues, there is an active feature request:

Meanwhile, one alternative is to use the REST API if you were interested in creating a application to perform these queries on your behalf.

As an example:

curl -D- -u <username>:<password> -X GET -H "Content-Type: application/json" https://<instance-name>/rest/api/latest/issue/<issuekey>?fields=summary,issuelinks

Replacing the values within < > would generate a list of the linked issues for a specific issue

To further expand you could run a query on a project, as an example:

curl -D- -u &lt;user&gt;:&lt;password&gt; -X GET -H "Content-Type: application/json" https://&lt;instance-name&gt;/rest/api/latest/search?jql=project=&lt;projectkey&gt;&amp;fields=summary,issuelinks

Your application would be searching for the returned values for "issuelinks"

If you are interested there is some great resources available here for the REST API:



Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,981 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot