It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

workflow information with api call Edited

Hello,

I have a workflow called "my project US workflow" (with space) and I would like to get all information about transitions (name, transition, post function) with REST API.

I tried to use the Get Workflows Paginated feature but I got a http 400 :

curl -k -Ss -u 'user:pass' --header 'Accept: application/json' "https://myjiraserver.com/api/2/workflow/search?workflowName=my project Rewire workflow" 

Jira v8.1.0 and  I'm admin of the jira instance

Have I used the right API feature ? If yes , what's wrong with my request ? 

 

Thanks in advance

1 answer

syntax is without the word "search"

https://myjiraserver.com/api/2/workflow?workflowName=my project Rewire workflow 

but it only returns this info

{ "name": "xxxxxxxx", "description": "", "lastModifiedDate": "26/dic/18 1:41 PM", "lastModifiedUser": "yyyyyy", "steps": 2, "default": false}

using jira cloud or server?

seems that syntax is only for cloud.

Like nico2610 likes this

I'm using jira server. I didn't noticed that there is a difference between cloud and server API. Thanks for the information !

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

841 views 5 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you