Forums

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

Custom field with "ProjectRole"

SB February 15, 2019

Hi,

anyone knows if there is a plugin / sample code on how to create a custom field for project roles or a list of project roles ? I want to add fields to a task that should be choosen from the list of project roles.

Would it be possible to create this kind of custom field in a plugin, like

AbstractSingleFieldType<ProjectRole>

or is this a dead end ?

2 answers

1 accepted

0 votes
Answer accepted
Gezim Shehu [Communardo]
Community Champion
February 15, 2019

Maybe a behaviour for a text field?

Something like this:

https://scriptrunner.adaptavist.com/4.3.5/jira/behaviours-conversions.html

 

 

but for project roles.

SB February 15, 2019

Thanks, I will try this out.

shane
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!
February 15, 2019

My name is Shaye Lynne, please kindly contact me through my Email
(shayelynnehav225@gmail.com)
Thank you.

1 vote
SB February 18, 2019

Thanks Gezim, looks like I can realize this quite easy with the scriptrunner.

Suggest an answer

Log in or Sign up to answer