How can we fetch the summary field id in jira?
I am unable to see the summary field in custom field
Hi Jee.
I can help you out with this, if you are 100% sure that this is what want. To be honest, you really don't want to control issue transition through the REST API.
Using a post-function, or a listener, would be a lot easier, and it's functionality that you wouldn't have to code by yourself, since we've already provided that built-in.
These documentation articles might be of help:
This is the fast-track listener, that does precisely what you want based on a condition.
It is also available as a post-funciton, if I'm not mistaken.
Cheers!
Dyelamos
Thank you for your answers.
I wanted to change the state of issue on an external build tool, not on an Atlassian product.
Is it possible to change the state externally?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry let me make sure that I understand you.
You want to open a rest endpoint in your instance, that in turn accepts request from an external build tool to transition issues.
Is this correct?
Cheers
Dyelamos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's exactly what I want.
I've already solved it with curl.
Do you have any other ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I think you are doing now is setting a REST endpoint, and within that REST endpoint, you are yet making another call to the JIRA rest api.
Instead of using the rest api from within your REST endpoint, use a normal transition method via java. Like my colleague Aidan does here.
I would heavily suggest using this over calling a JIRA endpoint while within your own rest API. It would make use of less resources, and it would me more reliable.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.