Copy project field to a custom field

I created a custom field titled Origin. It will be a read-only field on the view screen and I need to capture the name of the project or project key in which the issue was created within. This is important to retain as we want to move an issue from one project to another to make it easier for backlog management - but, the original project is critical for us to meet our ISO reporting requirements.

I tried to use a Post function that said to copy value from field Project to Origin (my origin is a text field; but, I also tried it with a select list of all the project names and keys as I wasn't sure what the Project field contained). The post function was done after the issue was created.

However, I get an error that it cannot copy fro Project to Origin.

Does anyone know how I can populate this custom field with either the Project Name or Project Key?

4 answers

This widget could not be displayed.

If I use Key as the source field, that will copy to Origin. However, I would prefer the Project Name as that makes more sense to users. Any ideas?

This widget could not be displayed.

Could this be an issue with the JIRA Utilities plugin? We are on JIRA version 5.2, JIRA Suites Utility version 1.3.4

This widget could not be displayed.

Using KEY won't work because it populates with ABC-123. However, I cannot create a query to locate any issues where origin ~ "ABC" as contains looks for entire words, not true contains text.

Unless someone knows how to use the Project field, looks like I have to create custom work flows for every project in order to populate the origin field with specific text like ABC. <sigh>

This widget could not be displayed.

I tried the two following scenarios with JIRA 5.2 and JSU 1.3.4

1) CustomField ProjectPicker, Copy Field Value in Workflow, got project selected in that picker after transition

2) CustomField Read Only Text Field, Copy Field Value in Workflow, got project KEY in read only field after transition

This did work during issue creation and later on, for example on start progress.

Can you give more details about the error you get? Either what you see inside the browser or in the log files of JIRA?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

98 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you