Forums

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

Default a JIRA ticket to the reporter

Susie Moschkau
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2017

This question is in reference to Atlassian Documentation: Working with workflows

I have added a post function in the create transition, but it is Defaulting to unNot assigning to the reporter.PNGassigned. Please advise. 

1 answer

1 accepted

0 votes
Answer accepted
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.
January 29, 2017

The post-function runs after the use commits the "create" transition.  If you're setting the reporter with a post-function, remove it from the "create" screen as whatever the user is going to put in is going to be overwritten with it.

Pre-filling the reporter field on the create screen, then allowing them to change it,  needs to happen as part of the screen rendering - you'll need javascript, or a Behaviour from the Script Runner add-on to do that.

Suggest an answer

Log in or Sign up to answer