Forums

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

How to perform post on transition when that transition is hidden from user.

Aayush Mohanka December 23, 2020

I have added a transition (A - B) which I have hidden it from condition.
I wanted to perform same transition via a rest Call {issue}/transition, i am not able to do so.
How can I make transition for a hidden one using Rest

1 answer

1 vote
Hana Kučerová
Community Champion
December 23, 2020

Hi @Aayush Mohanka

I don't think it's possible. It your user is not able to transition the issue via JIRA GUI, he won't be able to do it via REST API. So you need to use another user who meets the condition.

Aayush Mohanka December 27, 2020

Thanks for the response.
I am trying to differentiate any action on issue based on UI or API call at my plugin.
My API user and logged in user can same, and my plugin treats both the action either by UI or Rest API as same and process event.

Hana Kučerová
Community Champion
December 31, 2020

Hi @Aayush Mohanka ,

I'm not aware of the possibility how to easily distinguish, whether the request was made using UI or via API. I would recommend you to use different users instead.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events