Querying JIRA issues from another application...

Hi,

I'm looking for a way to check that a string entered for cross-reference purposes in the comment field of our SCCS is a valid JIRA issue tag, e.g. user enters "OC-2134" in TFS/GIT/whatever - I need to check that "OC-2134" is a valid JIRA issue identifier.

The key thing here is that this has to be done from outside of JIRA, i.e. another application...

Using 5.0.3 at the moment, upgrading to 6.2 next week...

Thanks

2 answers

This widget could not be displayed.

I'd use REST to try to fetch the issue (it'll work in 5 and 6, so you can do it now and not worry about the upgrade). If it succeds, all is good, if it fails, issue is not there (or, can't be seen)

This widget could not be displayed.

I've checked that "Accept remote API calls" is "ON" however all queries are failing even when I try a known valid issue, e.g.

http://<jiraserver>:8080/rest/api/latest/issue/AB-1234

Not sure where to go...

Just downloading & installing cURL to use that as my test client instead of IE...

Your REST url is wrong. My fault, Sorry, I should have pointed you at https://docs.atlassian.com/jira/REST/latest/- it's got the url guide and a list of the functions if you want to get more clever (like checking issue assignee or something)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

137 views 2 0
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