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

Hi!

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: https://confluence.atlassian.com/display/JIRA/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

This widget could not be displayed.
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: https://jira.atlassian.com/browse/JRA-25640

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: https://docs.atlassian.com/jira/REST/latest/#id2474348

Cheers,

Paul

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

165 views 1 3
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