The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Post function on transition - alter copy field value

Aram Dermenjian
January 6, 2015

The scene:
I have a transition from Open -> Closed.
I have 2 issue types 'Fixable' and 'Random'.

The Issue:
I want to create a post function so that on transition from open to closed the 'resolved' field is updated based on the issue type. So that:
'fixable' implies that the resolution should be 'fixed'
'random' implies that the resolution should be 'invalid'

Is there anyway to alter the field you are copying over? Alternatively, I could just 'update' the field, but there doesn't seem to be a way to update the field based on some other field.

Is there a way to do something like this? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Peter Bengov
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 Champions.
January 7, 2015

Hey Aram, the JIRA server has a JIRA Workflow Toolbox plugin allows these functions using a post function called Set a Field as a Function of other Fields. Try looking for a plugin with this kind of capability to JIRA Cloud. 

Aram Dermenjian
January 7, 2015

Hey Peter, Yeah, that's the main issue. We need this through cloud. Although your solution and plenty of other ones (e.g. groovy) exist for non-cloud installations, I'd need a cloud specific one.

TAGS
AUG Leaders

Atlassian Community Events