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

0 votes
Paul Greig Atlassian Team Aug 06, 2013

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,516 views 15 20
Read article

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