Forums

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

When transitioning from 'on hold' status to any other status, the 'on hold reason'

abbas baman
Contributor
July 2, 2020

When transitioning from 'on hold' status to any other status, the 'on hold reason' should automatically change to 'not on hold'

 

can any show me the solution for this 

2020-06-17 16_03_59-Window.png2020-06-25_1543.png

 

2 answers

0 votes
abbas baman
Contributor
July 5, 2020

Hi @Jack Brickey I can't see 'on hold' filed on in a drop-down on update issue filed could you please help me with this how to resolve this 

2020-07-05 18_52_22-.png

Jack Brickey
Community Champion
July 5, 2020

Did you try the “update issue Custom Field”?

0 votes
Jack Brickey
Community Champion
July 2, 2020

So I assume that when an issue transition "into" On Hold the On Hold Reason is being set and that the default value of On Hold Reason is Not On Hold? Now if you wish to set this field to "No On Hold" then you need to have dedicated transition "out of" On Hold status. By having dedicated transitions you can then simply add a post function to each exiting transition to set the value as desired.

abbas baman
Contributor
July 2, 2020

Hi @Jack Brickey actually what I want is when the transition is on hold as you can see about the picture than the filed 'on hold reason' have to drop down multiple values right from that I want to set 'not on hold' when transition moved from 'on hold' to other states hope now make sense.

abbas baman
Contributor
July 4, 2020

Hi @Jack Brickey could you please help me it is urgent 

Jack Brickey
Community Champion
July 4, 2020

Hi Abbas, I’m actually not where I can easily assist at the moment. With that said it seems my earlier response should give you enough info to resolve. Maybe I am still misunderstanding? Let me restate...

your desired behavior:
If a user moves an issue to On Hold status using the on hold transition then you wish to present the user with a required field “On Hold Reason” that is a single select field. Subsequently if a user moves an issue from the On Hold status then you wish to set the On Hold Reason to “not on hold”.

Or maybe you are saying this?....

if the status is On Hold you want the On Hold Reason to present a selection that excludes “no on hold” and if the issue is in any status other than On Hold the filed only present “no on hold”.

in my opinion the  approach mentioned first would be how I would go about it.

abbas baman
Contributor
July 4, 2020

Hi @Jack Brickey  yes I want the first point "When transitioning from 'on hold' status to any other status, the 'on hold reason' should automatically change to 'not on hold'", let me know if you have found something. how I can achieve this 

Jack Brickey
Community Champion
July 4, 2020

As I mentioned in my first reply you simply need to add a Post Function to all transitions leaving the on hold status. Use the function to set the custom field. You do this by editing the workflow under Project settings. 

abbas baman
Contributor
July 4, 2020

Hi @Jack Brickey  As i am new to Jira could you please show me step by step guide if it is possible thanks in advance 

Jack Brickey
Community Champion
July 4, 2020

You might want to read these articles - Jira workflows 

here is a quick summary...

  1. go to Project settings > workdflows
  2. edit the workflow associated with the Issuetype in question assuming you have more Than one. Not use Diagram mode
  3. click on the transition (line) leaving the oh hold status (box)
  4. to the right you will see a pop up. Click on post function
  5. in the post function screen click add post function
  6.  choose the option to update field
  7. in the next screen choose the on hold reason field
  8. set the value to no on hold
  9. publish your workflow
  10. if you have more than one transition out of On hold repeat 3-9

Suggest an answer

Log in or Sign up to answer