Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Perform Issue Transition only from Jira API and not from Jira Front End

Hari Nagarathinam November 29, 2018

Hi,

Currently we can create issues/performing transitions/Assign from Jira Front end and from Jira API also.

But we want to restrict these tasks only from API.

Is there a way to identify transition initiation source and then post restriction for front end alone?

Suggestions would be helpful.Thanks in Advance

 

 

 

 

2 answers

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2018

For plain Jira, you could create a user to use with the API and then limit transitions with "only my API user can use this transitions".

If you're willing to use Apps, there's a few that have that condition already, and a couple that have "hide transition from logged in human" explicitly

Hari Nagarathinam November 29, 2018

Hi Nic,

Thanks for your response.

We will check.

1 vote
Elifcan Cakmak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2018

Hello,

Have you tried "Hide transition from user" condition? 

Hide transition from user: Condition to hide a transition from the user. The transition can only be triggered from a workflow function.

I think this should work for your case.

Regards.

Elifcan

Hari Nagarathinam November 29, 2018

Hi Elifcan,

Thanks for your response.

I tried, But API in its response is actually looking for available transitions for given user.

Since hide condition is chosen, it is not showing possible transition in API.

 

Thanks

Elifcan Cakmak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 30, 2018

Hi, 

If that's the case, then @Nic Brough -Adaptavist-'s answer would be much helpful for you.

Regards,

Elifcan

Suggest an answer

Log in or Sign up to answer