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

0 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

35 views 0 4
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